package com.zjm.dao;

import com.zjm.entity.Student;
import com.zjm.entity.Teacher;

import java.util.List;

public interface TeacherDao {
    //通过学号选择老师
    Teacher selectTeacherById(Integer id);
    //通过姓名选择老师
    Teacher selectTeacherByName(String name);
    //请假时选择辅导员
    String selectTeacherBymajor(String major);


    //注册老师
    int insertTeacher(Teacher teacher);
}
